package az.mecid.rssreader.client.event;

import com.google.gwt.event.shared.EventHandler;
import com.google.gwt.event.shared.GwtEvent;

/**
 * Created by IntelliJ IDEA.
 * User: mega
 * Date: 26.02.2010
 * Time: 20:39:57
 */
public class FeedAddedEvent extends GwtEvent<FeedAddedHandler> {
    public static final Type<FeedAddedHandler> TYPE = new Type<FeedAddedHandler>();

    @Override
    public Type<FeedAddedHandler> getAssociatedType() {
        return TYPE;
    }

    @Override
    protected void dispatch(FeedAddedHandler feedAddedHandler) {
        feedAddedHandler.onFeedAdded(this);
    }
}
